package cn.hk.cancel.service;

import cn.hk.cancel.mapper.OrderCancelMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderCancelService {

    @Autowired(required = false)
    private OrderCancelMapper orderMapper;

    public void cancelOrder(Integer uId, Integer oId) {
        orderMapper.cancelOrderUpdateByOid(uId,oId);
    }
}
